package com.H1023.service;

import com.H1023.pojo.Book;

import java.security.Principal;
import java.util.List;

/**
 * @author 小强
 * @create 2021-10-11 23:09
 */
public interface BookIOService {

    Book queryBookByID(int id);
    List<Book> queryBookByName(String name);
    List<Book> queryOutedBookByName(String name);
    List<Book> queryAllBook();
    int outBookByID(int id);
    int storeBook(Book book);
    List<Book> queryOutedBook();
    Book queryOutedBookByID(int id);
    int reStoreBookByID(int id);

    int deleteBookByID(int id);
}
